<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Resources extends Model
{
    protected $table = 'resources';

    protected $primaryKey = 'id';

    protected $dateFormat = 'U';

    protected $fillable = ['res_type','res_url','res_name','res_name_u','res_size','created_at','updated_at'];

    // public function getCreatedAtAttribute($value)
    // {
    //     return date('Y-m-d H:i:s',$value);
    // }
}